package com.cloudkinto.dto.stock.query;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class SkuStockPageDto {
    private Long productId;

    private String spu;

    private String sku;

    private String janCode;

    @ApiModelProperty("仓库sku upc")
    private String mainBarcode;

    @ApiModelProperty("申报价格")
    private BigDecimal declarePrice;

    @ApiModelProperty("产品名称")
    private String productName;

    @ApiModelProperty("产品分类")
    private String fullPathName;

    @ApiModelProperty("分类id")
    private Long categoryId;

    @ApiModelProperty("公司id")
    private Long companyId;

    @ApiModelProperty("公司名称")
    private String companyName;

    @ApiModelProperty("公司编号")
    private String companyCode;

    @ApiModelProperty("仓库id")
    private Long whId;

    @ApiModelProperty("仓库代码")
    private String whCode;
    @ApiModelProperty("仓库名称")
    private String whNameCn;

    @ApiModelProperty("库存属性 0正品 1次品")
    private Integer stockAttribute;
    @ApiModelProperty("总库存数")
    private int totalAmount;
    @ApiModelProperty("总库存重量")
    private BigDecimal totalWeight;
    @ApiModelProperty("总库存体积")
    private BigDecimal totalVolume;
    @ApiModelProperty("可用库存数")
    private int availableAmount;
    @ApiModelProperty("可用库存重量")
    private BigDecimal availableWeight;
    @ApiModelProperty("可用库存体积")
    private BigDecimal availableVolume;
    @ApiModelProperty("锁定库存")
    private int lockAmount;
    @ApiModelProperty("锁定库存重量")
    private BigDecimal lockWeight;
    @ApiModelProperty("锁定库存体积")
    private BigDecimal lockVolume;
    @ApiModelProperty("在途")
    private int transportAmount;
    @ApiModelProperty("预售在途")
    private int inTransitQty;
}
